package demo4;

public class Test {

    public static void main(String[] args) {
        Person person = new Person("zhangsan", 18);
        Person person1 = new Person("lisi", 19);
        System.out.println(person);
        // System.out.println(Person.school);

        System.out.println(person1);
        // System.out.println(Person.school);

        System.out.println(Person.getSchool());

    }


    public static void main1(String[] args) {
        Person person = new Person("kay", 17);
        person.setAge(19);
        System.out.println(person);
    }
}
